package com.uuticketweb.ticket.flight.bean;

import java.util.List;

import com.uuticketweb.ticket.pojos.TwoCode;

/**
 * Wrapped object of flight info with price
 * @author xiaomin
 *
 */
public class FlightWithPrice {
	/*
	 * the to flight info pair. 
	 * toFlight[0] = From departure to destination. If have turn city from departure to turn city
	 * toFlight[1] = Null is direct flight. Otherwise from turncity to destination
	 */
	private FlightInfo[] toFlight;
	private FlightInfo[] backFlight;
	private List<FlightInfo> flightList;
	private TwoCode company;
	private float price;
	private float tax;
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public float getTax() {
		return tax;
	}
	public void setTax(float tax) {
		this.tax = tax;
	}
	public TwoCode getCompany() {
		return company;
	}
	public void setCompany(TwoCode company) {
		this.company = company;
	}
	public FlightInfo[] getBackFlight() {
		return backFlight;
	}
	public void setBackFlight(FlightInfo[] backFlight) {
		this.backFlight = backFlight;
	}
	public FlightInfo[] getToFlight() {
		return toFlight;
	}
	public void setToFlight(FlightInfo[] toFlight) {
		this.toFlight = toFlight;
	}
	public List<FlightInfo> getFlightList() {
		return flightList;
	}
	public void setFlightList(List<FlightInfo> flightList) {
		this.flightList = flightList;
	}
	
}
